/********************************************************************************
 *      Copyright:  (C) 2022 Zhang Changxing<ZhangChangxingVIP@163.com>
 *                  All rights reserved.
 *
 *       Filename:  packinfo.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/13/2022)
 *         Author:  Zhang Changxing <ZhangChangxingVIP@163.com>
 *      ChangeLog:  1, Release initial version on "04/13/2022 01:24:02 AM"
 *                 
 ********************************************************************************/

#ifndef  _PACKINFO_H_
#define  _PACKINFO_H_

#define DEVID_LEN   16
#define TIME_LEN   32

/*
 *   description:   Packet structure sent to the server
 *        member:   $devid:     An array used to store device names
 *                  $strtime:   An array used to store dates and times
                    $temper:    Used to store the obtained temperature value
 */

typedef struct pack_info_s
{
    char    devid[DEVID_LEN];
    char    strtime[TIME_LEN];
    float   temper;
}pack_info_t;

#endif